export default {
  path: "/department",
  redirect: "/department/depmanger",
  meta: {
    icon: "ri:user-2-fill",
    // showLink: false,
    title: "部门管理",
    rank: 3
  },
  children: [
    {
      path: "/department/depmanger",
      name: "组织架构",
      component: () => import("@/views/department/DepManger/index.vue"),
      meta: {
        title: "组织架构",
        roles: ["admin"]
      }
    },
    {
      path: "/department/rolemanger",
      name: "角色管理",
      component: () => import("@/views/department/RroleManger/index.vue"),
      meta: {
        title: "角色管理",
        roles: ["admin"]
      }
    },
    {
      path: "/department/employee",
      name: "员工管理",
      component: () => import("@/views/department/EmployeeManger/index.vue"),
      meta: {
        title: "员工管理",
        roles: ["admin"]
      }
    }
  ]
} satisfies RouteConfigsTable;
